<template>
	<view class="shangjiaruzhuxieyi">
		<view class="top">
			<image src='../../static/businessImg/back.png' class="topback" @click="back">
			</image>
			<view class="topname">
				供应商协议
			</view>
		</view>
		
		<view style="padding: 40rpx;" v-html="text">
			
		</view>
	</view>
</template>

<script>
	import {getCopy} from '@/api/storeAdmin.js' 
	export default {
		data() {
			return {
				text: ''
			}
		},
		
		onShow() {
			getCopy({
				type: '5'
			}).then(res => {
				this.text = res.data
			})
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				});
			},

			
		}
	}
</script>

<style scoped>
	.shangjiaruzhuxieyi {
		width: 100%;
		min-height: 100vh;
	}

	.top {
		width: 100%;
		height: 188rpx;
		position: relative;
		background: #FFFFFF;
	}

	.topback {
		width: 16rpx;
		height: 29rpx;
		position: absolute;
		top: 106rpx;
		left: 32rpx;
	}

	.topname {
		width: 300rpx;
		height: 32rpx;
		text-align: center;
		font-family: Adobe Heiti Std;
		font-weight: normal;
		font-size: 33rpx;
		color: #222222;
		line-height: 32rpx;
		position: absolute;
		top: 104rpx;
		left: 50%;
		transform: translateX(-50%);
	}
</style>
